import type {App} from "vue";
import { VCairn } from 'v-cairn';
import { AppConnector } from "./AppConnector.ts";

export function startVCairn(app: App) {
    app.use(VCairn, {
        timeout: 30000,
        baseURL: 'https://jsonplaceholder.typicode.com',
    });
    app.config.globalProperties.connector = new AppConnector();
}